/*!
 * Copyright 2019 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import "../styles/colors";

.search {
  height: 100%;

  .search-topbar {
    display: flex;
    height: 46px;
    align-items: center;
    background: #fff;
    padding: 0 10px;

    .search-bar {
      margin-left: 10px;
    }

    .search-button {
      white-space: nowrap;
      padding-left: 10px;
    }
  }

  .search-history {
    padding: 20px;
    background: #fff;
    border-top: 0.5px solid $border-color;

    &-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      line-height: 1em;
    }

    &-content {
      display: flex;
      margin-top: 20px;
    }

    &-label {
      padding: 6px 16px;
      background: $background-color;
      border-radius: 20px;

      &:not(:last-child) {
        margin-right: 10px;
      }
    }
  }

  .search-keyword-list {
    background: #fff;

    .search-keyword-item {
      padding: 14px 0;
      border-bottom: 0.5px solid #f0f0f0;
      margin-left: 10px;
    }
  }
}
